html {
  background: white;
  &::-webkit-scrollbar {
    display: none;
  }
}

body {
  background-color: white;
  &::-webkit-scrollbar {
    display: none;
  }
}

#main {
  &::-webkit-scrollbar {
    display: none;
  }
}

@footerHeight: 4rem;
footer {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: @footerHeight;
  background: white;
  box-shadow: 0 -1px 10px -3px rgba(0, 0, 0, .2);
}

.content {
  padding-top: .5rem;
  margin-bottom: @footerHeight;
}

.line {
  display: flex;
  justify-content: space-between;
  &.group {
    height: 50%;

    div {
      flex-grow: 1;
      text-align: center;
      height: 100%;
      line-height: @footerHeight / 2;
      font-size: 14px;
    }
  }
}

.month-title {
  font-size: 16px;
  text-align: center;
  margin: .5rem 0;
}

.month-container {
  display: flex;
  flex-direction: column;
  padding-bottom: .5rem;
  position: relative;
}

.week-container {
  white-space: nowrap;
  font-size: 14px;
  color: #6d6d72;
  margin-bottom: .5rem;

  > span {
    width: calc(100% / 7);
    text-align: center;
    line-height: 20px;
  }
}

.day-container {
  display: flex;
  flex-wrap: wrap;

  li {
    width: calc(100% / 7);
    text-align: center;
    padding: 3px;

    > div {
      display: flex;
      flex-direction: column;
    }

    span {
      pointer-events: none;
    }
  }
}

.day {
  display: flex;
  flex-direction: column;
  height: 2rem;
  justify-content: center;
}

.num {
  font-size: 13px;
  line-height: 16px;
}

.price {
  font-size: 10px;
  line-height: 14px;
}

.day-num-tips {
  line-height: @footerHeight / 2;
  height: 50%;
  text-align: center;
  position: relative;
}

.group {
  .right {
    position: relative;
    &::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      border-left: 1px solid rgba(0, 0, 0, .2);
      width: 1px;
      height: 100%;
      transform: scaleX(.5);
    }

  }
}

.day {
  @fontColor: #a2a2a8;
  &.overdue {
    pointer-events: none;
    color: @fontColor;
  }

  .selected {
    @selectedColor: darkorange;
    border: 1px solid @selectedColor;
    border-radius: 2px;
    position: relative;
  }

  &.lock {
    color: @fontColor;
  }
}
